package cn.edu.bupt.iocaop.demo.dao.impl;

import cn.edu.bupt.iocaop.demo.dao.TestDao;
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

@Repository
public class TestDaoImpl implements TestDao, BeanNameAware {
    @Override
    public void save() {
        System.out.println("testDao Save");
    }

    @Override
    public void setBeanName(String s) {
        System.out.println("setBeanName is called: "+ s);
    }
}
